package com.example.administrator.social.model;

/**
 * Created by Administrator on 2018/9/10 0010.
 */

public class MessageData {
    private int id;
    private String name;
    private int headerImage;
    private String date;
    private String lastMessage;
    private String letters;

    public MessageData() {
    }

    public MessageData(int id, String name, int headerImage, String date, String lastMessage) {
        this.id = id;
        this.name = name;
        this.headerImage = headerImage;
        this.date = date;
        this.lastMessage = lastMessage;
    }

    public MessageData(int id, String name, int headerImage, String date, String lastMessage, String letters) {
        this.id = id;
        this.name = name;
        this.headerImage = headerImage;
        this.date = date;
        this.lastMessage = lastMessage;
        this.letters = letters;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHeaderImage() {
        return headerImage;
    }

    public void setHeaderImage(int headerImage) {
        this.headerImage = headerImage;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getLastMessage() {
        return lastMessage;
    }

    public void setLastMessage(String lastMessage) {
        this.lastMessage = lastMessage;
    }

    public String getLetters() {
        return letters;
    }

    public void setLetters(String letters) {
        this.letters = letters;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", headerImage=" + headerImage +
                ", date='" + date + '\'' +
                ", lastMessage='" + lastMessage + '\'' +
                ", letters='" + letters + '\'' +
                '}';
    }
}
